﻿using Microsoft.SPOT.Hardware;
using SecretLabs.NETMF.Hardware.Netduino;
using System;

namespace NetduinoHappyHour.Hardware
{
    /// <summary>
    /// drive command for left wheel
    /// Written by: Salvador Richter
    /// Appache License Version 2.0 
    /// </summary>
    public class DriveCommandLeft : DriveCommandSingle
    {
        public override Cpu.Pin PortPinStepper { get { return SystemConfig.Instance().StepperClockLeft; } }

        public override Cpu.Pin PortPinDirection { get { return SystemConfig.Instance().StepperDirectionLeft; } }

        public DriveCommandLeft(int Steps, int StepDuration)
            : base(Steps, StepDuration)
        {
        }

        public DriveCommandLeft(int StepDurationToBeSet)
            : base(StepDurationToBeSet)
        {
        }
    }
}
